/**  
* @Title: Book.java  
* @Package com.ssm.demo.model  
* @Description: TODO(用一句话描述该文件做什么)  
* @author jing Lei 
* @date 2018年12月25日  
* @version V1.0  
*/

package com.ssm.demo.model;

import java.util.Date;

/**
 * @ClassName: Book
 * @Description: 书籍实体
 * @author jing Lei
 * @date 2018年12月25日
 * 
 */

public class Book extends BaseModel {

	private static final long serialVersionUID = -5732941714954663078L;
	/*
	 * 书籍类别id
	 */
	private int typeBookId;
	/*
	 * 书名
	 */
	private String bookName;

	/*
	 * 作者
	 */
	private String author;
	/*
	 * 出版社
	 */
	private String press;
	/*
	 * 出版日期
	 */
	private Date publicationDate;
	
	/*
	 * 出版日期
	 */
	private String publicationDateStr;
	/*
	 * 价格
	 */
	private int price;
	/*
	 * 简介
	 */
	private String synopsis;
	
	/**
	 * 类型名称
	 */
	private String typeName;

	public Book() {

	}

	public Book(int typeBookId, String bookName, String author, String press, Date publicationDate, int price,
			String synopsis) {
		super();
		this.typeBookId = typeBookId;
		this.bookName = bookName;
		this.author = author;
		this.press = press;
		this.publicationDate = publicationDate;
		this.price = price;
		this.synopsis = synopsis;

	}

	public int getTypeBookId() {
		return typeBookId;
	}

	public void setTypeBookId(int typeBookId) {
		this.typeBookId = typeBookId;
	}

	public String getBookName() {
		return bookName;
	}

	public void setBookName(String bookName) {
		this.bookName = bookName;
	}

	public String getAuthor() {
		return author;
	}

	public void setAuthor(String author) {
		this.author = author;
	}

	public String getPress() {
		return press;
	}

	public void setPress(String press) {
		this.press = press;
	}

	public Date getPublicationDate() {
		return publicationDate;
	}

	public void setPublicationDate(Date publicationDate) {
		this.publicationDate = publicationDate;
	}

	public int getPrice() {
		return price;
	}

	public void setPrice(int price) {
		this.price = price;
	}

	public String getSynopsis() {
		return synopsis;
	}

	public void setSynopsis(String synopsis) {
		this.synopsis = synopsis;
	}

	public String getPublicationDateStr() {
		return publicationDateStr;
	}

	public void setPublicationDateStr(String publicationDateStr) {
		this.publicationDateStr = publicationDateStr;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	

}
